package week_07.reursionTraverse;

import week_07.LinkListQueue;

public class reursionTraverse {
    public static void main(String[] args) {
        LinkListQueue<Integer> link = new LinkListQueue<>();
        link.insert(1);
        link.insert(2);
        link.insert(3);
        link.insert(4);
        link.insert(5);
        link.reursion();
        for (int i = 0; i < link.length(); i++) {
            System.out.println(link.get(i));
        }
    }
}
